````mdx-code-block

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';

<Tabs groupId="current-os" queryString>
  <TabItem value="pip" label="pip">

  - Paste the following line in a terminal

<CodeBlock language="bash">{"pip install dora-rs-cli"}</CodeBlock>

  </TabItem>
  <TabItem value="linux" label="Linux">

  - Paste the following line in a terminal

<CodeBlock language="bash">{"curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dora-rs/dora/releases/latest/download/dora-cli-installer.sh | sh"}</CodeBlock>

  </TabItem>
  <TabItem value="macos" label="MacOS">

  - Paste the following line in a terminal

<CodeBlock language="bash">{"curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dora-rs/dora/releases/latest/download/dora-cli-installer.sh | sh"}</CodeBlock>

  </TabItem>
  <TabItem value="windows" label="Windows">

  - Paste the following lines in a terminal
<CodeBlock language="powershell">{"powershell -ExecutionPolicy ByPass -c \"irm https://github.com/dora-rs/dorareleases/latest/download/dora-cli-installer.ps1 | iex\""}</CodeBlock>
  - If you use VSCode, make sure to restart VSCode for the change to happen.

  </TabItem>
  <TabItem value="cargo" label="Cargo">

<CodeBlock language="bash">{"cargo install dora-cli # In case of issues, try: `--locked`"}</CodeBlock>

  </TabItem>
  <TabItem value="docker" label="Docker">

- Pull:

<CodeBlock language="bash">{"docker pull ghcr.io/dora-rs/dora-slim"}</CodeBlock>

- Run:

<CodeBlock language="bash">{"docker run ghcr.io/dora-rs/dora-slim dora --help"}</CodeBlock>


  </TabItem>
  <TabItem value="nix" label="Nix[OS]">
  - To make a base dev-shell (Recommended):
```nix
{
  description = "A base dev-shell flake";
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
    dora-rs = {
      url = "github:dora-rs/dora";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  outputs = {
    self,
    nixpkgs,
    dora-rs,
  }: let
    system = "x86_64-linux";
    #        ↑ Swap it for your system as needed
    pkgs = nixpkgs.legacyPackages.${system};
  in {
    devShells.${system}.default = pkgs.mkShell {
      buildInputs = [
        dora-rs.packages.${system}.dora-cli
      ];
    };
  };
}
```
  - To add to a system-config flake:
  1. First, add this to your inputs
```nix
    dora-rs = {
      url = "github:dora-rs/dora";
      inputs.nixpkgs.follows = "nixpkgs";
    };
```
  2. ...and add to your packages array. E.g. adding to your home-manager config:
```nix
{
  inputs,
  config,
  pkgs,
  ...
}: {
  home.packages = with pkgs; [
    inputs.dora-rs.packages.x86_64-linux.dora-cli
  ];
}
```
  - To install ([not recommended](https://stop-using-nix-env.privatevoid.net/))
```
nix-env --install "github:dora-rs/dora"
```
  </TabItem>
  <TabItem value="source" label="Source">

- Clone and build source

```bash
## dora binary
git clone https://github.com/dora-rs/dora.git
cd dora
cargo build --release -p dora-cli
PATH=$PATH:$(pwd)/target/release
```

- To develop python library

```bash
# pip install maturin

## Python API
maturin develop -m apis/python/node/Cargo.toml
```

- To test dora installation

```bash
dora --help
```

  </TabItem>
  <TabItem value="github" label="Github Releases">

  - Go on [our release page](https://github.com/dora-rs/dora/releases)
  - download the `zip` file corresponding to your architecture and OS.
  - Unzip the zip file and place it in your binary folder (e.g.: `$HOME/bin`).
  - Verify that dora is well installed by calling `dora --help` in your terminal.

  </TabItem>
</Tabs>

````
